package com.zn.mapper;

import com.zn.entity.DocumentaryReportOrder;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface DocumentaryReportOrderMapper {
    int insert(DocumentaryReportOrder record);

    int insertSelective(DocumentaryReportOrder record);

    DocumentaryReportOrder selectByPrimaryKey(String reportId);

    DocumentaryReportOrder selectByOrderRef(@Param("orderRef") String orderRef,@Param("instrumentCode") String instrumentCode);

    DocumentaryReportOrder selectByReportOrderRef(@Param("reportOrderRef") String reportOrderRef);

    int updateByPrimaryKeySelective(DocumentaryReportOrder record);
}